<!DOCTYPE html>
<html lang="zh_CN">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta name="x5-page-mode" content="app" />
  <meta name="description" content="浏览器内核版本ua检测" />
  <meta name="keywords" content="浏览器内核版本ua检测" />
  <meta name="copyright" content="浏览器内核版本ua检测" />
  <meta name="author" content="浏览器内核版本ua检测" />
  <meta name="reply-to" content="superq520@foxmail.com" />
  <meta name="robots" content="all" />
  <meta property="og:image" content="../img/logo.png" />
  <meta name="og:title" content="浏览器内核版本ua检测" />
  <meta name="og:url" content="https://gitmfq.eu.org/ua/ua.html" />
  <meta name="og:description" content="浏览器内核版本ua检测" />
  <meta name="baidu-site-verification" content="code-kqPK1hiJyC" />
  <meta name="360-site-verification" content="66ef038656fcaafd0c30a895a20a60f4" />
  <meta name="msvalidate.01" content="9F0AD8F2101B178EDCD65AA67D316DC0" />
  <meta name="bytedance-verification-code" content="tK3lwY/lmKJncwKqBLmg" />
  <!-- config -->
  <link rel="manifest" href="../js/manifestua.json" />
  <link rel="apple-touch-icon" sizes="180x180" href="../img/apple-touch-icon.png" />
  <link rel="icon" type="image/png" sizes="32x32" href="../img/favicon-32x32.png" />
  <link rel="icon" type="image/png" sizes="16x16" href="../img/favicon-16x16.png" />
  <link rel="icon" href="../img/favicon.ico" />
  <link rel="mask-icon" href="../img/mask-icon.svg" color="#39b54a" />
  <meta name="msapplication-TileColor" content="#39b54a" />
  <meta name="theme-color" content="#1cbbb4" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="white" />
  <meta name="apple-mobile-web-app-title" content="浏览器内核检测" />
  <link rel="stylesheet" type="text/css" href="../css/main.css" />
  <script type="text/javascript" src="ua.js"></script>
  <title>浏览器内核检测</title>
  <script src="../js/main.js"></script>
  <script type="text/javascript">
  </script>
  <script>  
  
function init() {
  let dev = document.getElementById("dev"),
    os = document.getElementById("os"),
    who = document.getElementById("who"),
    what = document.getElementById("what");

  if (UA) {
    if (who) {
      who.innerHTML = UA.whoami();
    }

    if (os) {
      if (UA.isHarmonyOS()) {
        os.innerHTML = "鸿蒙HarmonyOS";
      } else if (UA.isAndroid()) {
        os.innerHTML = "安卓Android";
      } else if (UA.isIPad()) {
        os.innerHTML = "iPadOS";
      } else if (UA.isIOS()) {
        os.innerHTML = "iOS";
      } else if (UA.isWindows()) {
        os.innerHTML = "WindowsOS";
      } else if (UA.isLinux()) {
        os.innerHTML = "Linux";
      } else if (UA.isSymbian()) {
        os.innerHTML = "塞班SymbianOS";
      } else if (UA.isMac()) {
        os.innerHTML = "MacOS";
      } else {
        os.innerHTML = "未知";
      }
    }


    if (dev) {
      if (UA.isTablet()) {
        dev.innerHTML = "平板";
      } else if (UA.isMobile()) {
        dev.innerHTML = "手机📱";
      } else if (UA.isTV()) {
        dev.innerHTML = "电视📺";
      } else {
        dev.innerHTML = "电脑🖥️";
      }
    }

    if (what) {
      if (UA.isWeixin()) {
        what.innerHTML = "微信";
      } else if (UA.isEdge()) {
        what.innerHTML = "Microsoft Edge";
      } else if (UA.isMqq()) {
        what.innerHTML = "QQ";
      } else if (UA.isQQBrowser()) {
        what.innerHTML = "QQ浏览器";
      } else if (UA.isQuark()) {
        what.innerHTML = "夸克浏览器Quark";
      } else if (UA.isUCBrowser()) {
        what.innerHTML = "UC浏览器";
      } else if (UA.isSearchCraft()) {
        what.innerHTML = "简单搜索";
      } else if (UA.isbaiduboxapp()) {
        what.innerHTML = "百度app";
      } else if (UA.isLenovoBrowser()) {
        what.innerHTML = "联想浏览器";
      } else if (UA.isChrome()) {
        what.innerHTML = "Chrome";
      } else if (UA.isIE()) {
        what.innerHTML = "ie浏览器";
      } else if (UA.isFirefox()) {
        what.innerHTML = "Firefox火狐";
      } else if (UA.isGecko()) {
        what.innerHTML = "Gecko内核";
      } else if (UA.isOpera()) {
        what.innerHTML = "Opera";
      } else if (UA.isNokiaBrowser()) {
        what.innerHTML = "诺基亚浏览器";
      } else if (UA.isSafari()) {
        what.innerHTML = "Safari";
      } else if (UA.isWebKit()) {
        what.innerHTML = "WebKit";
      }
    }
  }
}

if (window.attachEvent) {
  document.onreadystatechange = init;
} else if (window.addEventListener) {
  document.addEventListener("DOMContentLoaded", init, false);
}

</script>
</head>

<body>

  <!--顶栏-->
  <header class="yinying yuanjiao touming flex"">
        <!--左边logo-->
        <b class=" touzuobian">
    <div class=" sjyincang">gitmfq</div></b>
    <!--中间-->
    <div class=" touzhongjian flex">
      <a href=" ../index.html">首页</a>
      <a href=" ../index.html">分类</a>
      <a href=" ../index.html">其它</a>
    </div>
    <!--右边-->
    <div class="touyoubian">
      <div class="sjyincang"></div>
    </div>
  </header>
  <!--主体-->
  <div class=" flex">
    <!--侧边栏-->
    <div class="flex column sjyincang cebian yinying yuanjiao touming">
      <!--左区头像-->
      <div class="flex column" style="padding: 5px;margin-top: 25px ;
                    align-items: center; ">
        <img src="../img/logo.jpg" class="yinying yuanjiao" width="130px" height="130px" alt="">
        <div style="font-size: 23px; margin-top: 5px;">马富强</div>
      </div>
      <!--导航区-->
      <div style="
              text-align: center;
                font-size: 15px;
                margin-top: 5px;">
        风物长宜放眼量
      </div>
      <div style="
              text-align: center;
                font-size: 15px;
                margin-bottom: 15px;">
        眼界无穷世界宽
      </div>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="daohang">
        <thead>
          <tr>
            <th></th>
            <th></th>
          </tr>
        </thead>

        <tbody>
          <tr>
            <td width="50%" align="right">
              github:
            </td>
            <td>
              <a href="https://github.com/gitMFQ" target="_blank" rel="noopener noreferrer">
                gitMFQ
              </a>
            </td>
          </tr>
          <tr>
            <td width="50%" align="right">
              gitee:
            </td>
            <td>
              <a href="https://gitee.com/gitMFQ" target="_blank" rel="noopener noreferrer">
                gitMFQ
              </a>
            </td>
          </tr>
          <tr>
            <td width="50%" align="right">
              酷安账号:
            </td>
            <td>
              <a href="http://www.coolapk.com/u/469901" target="_blank" rel="noopener noreferrer">
                单薄如纸
              </a>
            </td>
          </tr>
        </tbody>
      </table>


      <footer>
        <div class="banquan yinying">
          <div>
            <a href="https://www.midorg.com/" target="_blank" rel="noopener noreferrer">
              元岛
            </a>
            ·
            <a href="https://kangwenchang.com/" target="_blank" rel="noopener noreferrer">
              康文昌
            </a>
          </div>
          <p style="margin-block-end: 0px;">Copyright © 2022-2023 </p>
          <a style="margin-bottom: 5px;" href="https://gitmfq.eu.org">gitmfq.eu.org</a>
          <a href="https://beian.miit.gov.cn/" target="_blank" rel="noopener">
            这里没有备案号
          </a>
        </div>
      </footer>
    </div>
    <div class=" flex flex1 column zbj64 " style="margin-top:64px;">
      <!--内容区-->
      <div style="overflow: scroll;" class="flex shuxiang qgdt">
        <!--左区-->
        <div style="flex:4.5" class="flex column bj8">

          <!--列表区域-->
          <div class="flex column">
            <!--列表项-->
            <div style="text-shadow: 0 .8px 0 #ddd;text-align: center;" class="yinying yuanjiao  beijing">
              <h1 style="margin-bottom: 0;">浏览器内核检测</h1>
              <h5 style="margin-top: 0;">Browser kernel detection</h5>
            </div>
            <!--列表项-->
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="llqnh yinying yuanjiao beijing sbj8"
              style="text-shadow: 0 .8px 0 #ddd; line-height: 1.5;">
              <thead>
                <tr>
                  <th></th>
                  <th></th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td width="30%" align="right">设备:</td>
                  <td>
                    <span id="dev"></span>
                  </td>
                </tr>
                <tr>
                  <td width="30%" align="right">浏览器:</td>
                  <td>
                    <span id="what"></span>
                  </td>
                </tr>
                <tr>
                  <td align="right">系统:</td>
                  <td>
                    <span id="os"></span>
                  </td>
                </tr>
                <tr>
                  <td align="right">完整ua:</td>
                  <td>
                    <span style="font-size: 12px" id="who"></span>
                  </td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <td align="right">ip地址:</td>
                  <td>*.*.*.*</td>
                </tr>
              </tfoot>
            </table>
            <!--数据区-->
            <div class="flex sbj8">
              <!--数据1-->
              <a href="https://playmusic.eu.org/" target="_self" rel="noopener noreferrer"
                class="flex flex1 yuanjiao shuju yinying beijing shuxiang">
                <img src="../img/music.png" class=" yinying yuanjiao" width="60px" height="60px" alt="">
                <div>
                  <b>音乐</b>
                  <div class="sjyincang">
                    <p>第三方网易云音乐</p>
                    <p>yesplaymusic</p>
                  </div>
                </div>
              </a>
              <!--数据2-->
              <a href="../ua/ua.html" class="flex flex1 yuanjiao shuju zbj8 yinying beijing shuxiang">
                <img src="../img/chrome.png" class="yinying yuanjiao" width="60px" height="60px" alt="">
                <div><b>内核</b>
                  <div class="sjyincang">
                    <p>浏览器内核版本信</p>
                    <p>息检测</p>
                  </div>
                </div>
              </a>
              <!--数据3-->
              <a href="../index.html"
                style=" height:100px ;overflow: hidden; align-items: center;justify-content: center;"
                class="flex flex1 yuanjiao   zbj8 yinying beijing">
                <img src="../img/" width="100%" height="auto" alt="">
              </a>
              <!--数据4-->
              <a href="../index.html" style="height:100px" class="flex1 yuanjiao   zbj8 yinying beijing"></a>
            </div>
          </div>
        </div>
        <!--右区-->
        <div style="flex: 1;" class="flex ybj8 sbj8 mzbj8 column">
          <!--提示区域-->
          <div style="height:150px ; position: relative;" class="yinying yuanjiao  beijing">
          </div>
          <!--消息区域-->
          <div style="align-items: center;
                        justify-content: center;background-color: #38B571;overflow: hidden;margin-bottom: 8px;"
            class="flex column yinying yuanjiao sbj8">
            <img src="../img/weixin.jpg" style="width:100%;height:100%;object-fit: contain;" alt="">
          </div>
        </div>
      </div>
    </div>
  </div>
  <script>

  
    if ("serviceWorker" in navigator) {
      window.addEventListener("load", function () {
        navigator.serviceWorker.register("sw.js");
      });
    }

  </script>
</body>

</html>